import styled from 'styled-components';

export const HomeWrapper = styled.div`
  width: 960px;
  height: 300px;
  margin: 0 auto;
  display: flex;
`;

export const HomeLeft = styled.div`
  width: 625px;
  margin-left: 15px;
  margin-top: 30px;
`;

export const HomeRight = styled.div`
  margin-left: 10px;
  width: 280px;
`;

export const TopicWrapper = styled.div`
  padding: 20px 0 10px 0;
  background: #eeeeee;
  display: flex;
  flex-wrap: wrap;
  border-bottom: 1px solid #dcdcdc;
`;

export const TopicItem = styled.div`
  height: 32px;
  line-height: 32px;
  background: #999999;
  margin-left: 18px;
  margin-bottom: 18px;
  padding:0 10px 0 10px;
  color: #000;
  border: 1px solid #dcdcdc;
  border-radius: 4px;
  font-size: 14px;
`;

export const ListInfo = styled.div`
  padding: 20px 0;
  border-bottom: 1px solid #dcdcdc;
`;

export const RecommendWrapper = styled.div`
  margin: 30px 0;
  width: 280px;
`;

export const RecommendItem = styled.div`
  width: 280px;
  height: 50px;
`;

export const WriterWrapper = styled.div`
  margin: 0 0 0 0;
  width: 100%;
  border: 1px solid #dcdcdc;
  height: 300px;
  line-height: 300px;
  text-align: center;
`;

export const WriterItem = styled.div`
  width: 280px;
  height: 50px;
`;

export const LoadMore = styled.div`
  width: 100px;
  height: 24px;
  border-radius: 12px;
  background: #dcdcdc;
  margin: 0 auto;
  font-size: 14px;
  text-align: center;
  line-height: 24px;
  margin-top: 10px;
  cursor: pointer;
`;

export const BackToTop = styled.div`
  position: fixed;
  right: 100px;
  bottom: 100px;
  width: 60px;
  height: 60px;
  line-height: 60px;
  text-align: center;
  border: 1px solid #ccc;
  font-size: 14px;
  cursor: pointer;
`;

export const Test = styled.div`
  width: 100%;
  height: 100px;
  overflow: auto;
`;
